-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add status page summary API #1927
base: master
Are you sure you want to change the base?
Add status page summary API #1927
Conversation
Why only up and down? |
If you need more info, you can use This is really only supposed to be a summary, which monitors exist and what is their status. Similar to the badges but for all monitors. |
Cloud you check this issue to test on your machine? I was able to run |
@pemassi Thanks with your setup I was able to get it running. I have fixed the PR and hidden the config JSON object in the summary API. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
@louislam what's holding a merge up? Anything I could change or improve? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Description
This adds a CORS enabled Summary API for status pages. This includes the current status of the monitor.
http://localhost:3001/api/status-page/my-status-page/summary
The feature can then be used by other web pages to display the status of different services, without having to request both
/api/status-page/default
and/api/status-page/heartbeat/default
at the cost of only knowing theup
ordown
status. This offers some more flexibility over the already implemented badges.Type of change
Please delete any options that are not relevant.
Checklist
(including JSDoc for methods)